#include<stdio.h>

void func1()
{
    int i=1;
    int sum=0;
    for(;i<=100;++i)
    {
        sum+=i;
    }
    printf("sum=%d",sum);
}



int main()
{

    printf("code running\n");

    func1();
    printf("code ending\n");

    return 0;
}
